package com.lzw.service.impl.student;

import com.lzw.mapper.student.StudentM;
import com.lzw.pojo.Student;
import com.lzw.service.student.StudentS;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class StudentSI implements StudentS {

    @Autowired
    private StudentM studentM;

    @Override
    public Map<String, Object> getInfo(String username) {
        return studentM.getInfo(username);
    }

    @Override
    public void update(Student student) {
        studentM.update(student);
    }
}
